package com.wyd.wenyongdaAdmin.commons.config;

import lombok.extern.slf4j.Slf4j;
//import org.apache.shiro.authc.AuthenticationException;
//import org.apache.shiro.authc.AuthenticationInfo;
//import org.apache.shiro.authc.AuthenticationToken;
//import org.apache.shiro.authz.AuthorizationInfo;
//import org.apache.shiro.realm.AuthorizingRealm;
//import org.apache.shiro.subject.PrincipalCollection;

//自定义的UserRealm
@Slf4j
public class UserRealm /*extends AuthorizingRealm */{

    ////授权
    //@Override
    //protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principalCollection) {
    //    log.info("执行了=>授权doGetAuthorizationInfo");
    //
    //    return null;
    //}
    //
    ////认证
    //@Override
    //protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken authenticationToken) throws AuthenticationException {
    //    log.info("执行了=>认证doGetAuthenticationInfo");
    //    return null;
    //}
}
